﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Dack_Web2.DTO;
using Dack_Web2.DAO;

namespace Dack_Web2.BUS
{
    public class SanPhamBUS
    {
        public static void Insert(SanPhamDTO tmp)
        {
            SanPhamDAO dao = new SanPhamDAO();
            dao.Insert(tmp);
        }

        public static void Update(SanPhamDTO tmp)
        {
            SanPhamDAO dao = new SanPhamDAO();
            dao.Update(tmp);
        }

        public static void Delete(SanPhamDTO tmp)
        {
            SanPhamDAO dao = new SanPhamDAO();
            dao.Delete(tmp);
        }
    }
}